package com.candy.databasedocuments.enums;

import com.candy.databasedocuments.service.document.*;

/**
 * @author suYanLong
 * @version 1.0
 * @date 2023/7/11 9:45
 * @Description 文档类型
 */
public enum DocumentEnum {
    WORD(WordDocumentServiceImpl.class),
    EXCEL(ExcelDocumentServiceImpl.class),
    HTML(HtmlDocumentServiceImpl.class),
    HTML2(Html2DocumentServiceImpl.class),
    PDF(PdfDocumentServiceImpl.class),
    ;

    private Class documentServiceImpl;

    private DocumentEnum(Class documentServiceImpl) {
        this.documentServiceImpl = documentServiceImpl;
    }

    public Class getDocumentServiceImpl() {
        return documentServiceImpl;
    }
}
